package com.morty.product.service;


import com.morty.product.entity.Product;

public interface ProductService {


	Product getProductById(String proId);

	/**
	 * 新增
	 * @param product
	 * @return
	 */
	int insertProduct(Product product) throws Exception;

	/**
	 * 修改/作废
	 * @param product
	 * @return
	 */
	int updateProduct(Product product);

	String testSeata();

	String testSeataLock();

	String testRedis();

	String testRedisUtil(String lock);

}
